package com.jinglin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jinglin.entity.po.VideoComment;
import com.jinglin.entity.vo.PaginationResultVO;
import com.jinglin.entity.vo.VideoCommentResultVO;

/**
 * <p>
 * 评论 服务类
 * </p>
 *
 * @author ${author}
 * @since 2025-03-24
 */
public interface VideoCommentService extends IService<VideoComment> {

    VideoComment postComment(VideoComment videoComment,String replyCommentId);

    VideoCommentResultVO loadCommentByVideoId(String videoId, Integer pageNo, Integer orderType,String userId);

    void topComment(String commentId, String userId);

    void cancelTopComment(String commentId, String userId);

    PaginationResultVO loadCommentManage(String videoId,Integer pageNo, Integer pageSize, String userId,String videoNameFuzzy);

    void delComment(String commentId, String userId);

}
